const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/",
  name: "overView",
  component: Layout,
  redirect: "/overView",
  meta: {
    icon: "ep:chrome-filled",
    title: "欢迎使用",
    rank: 0
  },
  children: [
    {
      path: "/overView",
      name: "/overView",
      component: () => import("@/views/overView/index.vue"),
      meta: {
        title: "总览",
        showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    }
    // {
    //   path: "/userprofile",
    //   name: "UserProfile",
    //   component: () => import("@/views/welcome/UserProfile.vue"),
    //   meta: {
    //     title: "个人信息",
    //     showLink: false
    //   }
    // }
  ]
} satisfies RouteConfigsTable;
